import carFriendService from  "services/carFriend/carFriend";
import QueryAdPositionService from "services/carFriend/QueryAdPosition";
import QueryUserInfoService from "services/carFriend/QueryUserInfo";
import QueryNewEventAlarmService from "services/carFriend/QueryNewEventAlarm";
import QueryRidersSpaceService from "services/carFriend/QueryRidersSpace";
import QuerySpaceMessageService from "services/carFriend/QuerySpaceMessage";

export default {
  // 社区首页, init初始化数据请求service
  SERVICE_LIST:[
    {
      service: QueryAdPositionService,
      req: { type: 5 }
    },
    {
      service: QueryUserInfoService,
      req: {}
    },
    {
      service: QueryNewEventAlarmService,
      req: {}
    },
    {
      service: QueryRidersSpaceService,
      req: {
        index: "0",
        count: "5",
        type: "1"
      }
    },
    {
      service: QueryRidersSpaceService,
      req: {
        index: "0",
        count: "5",
        type: "0"
      }
    },
    {
      service: QuerySpaceMessageService,
      req: { lastTime: window.localStorage.getItem("NewLastTime") }
    }
  ]
}